package com.qh.user.service;

import com.qh.user.domain.User;
import com.qh.basic.service.BaseService;

import javax.mail.MessagingException;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qhao
 * @since 2023-02-07
 */
public interface IUserService extends BaseService<User> {
    /**
     * 手机注册的方法
     * @param map
     */
    void phoneRegister(Map<String, String> map);

    /**
     * 邮箱注册
     * @param map
     */
    void emailRegister(Map<String, String> map) throws MessagingException;

    /**
     * 激活邮件
     * @param id
     */
    void updateById(Long id);
}
